package com.lxyk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lxyk.pojo.Salary;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface SalaryMapper extends BaseMapper<Salary> {
    /*
    * 计算所有送水工的工资和时间段 带分页
    * return工资列表
    * */
    List<Salary> calcSalaryByCondition(@Param("startDate") String startDate,@Param("endDate") String endDate);
    /*
    * 查询从来没有送过水的
    * */
    List<Salary> IsNullWorker();
}
